From c462e5c2f05319856dcbbe4ff45f423ebb9a7296 Mon Sep 17 00:00:00 2001 From: "smh22@firebug.cl.cam.ac.uk" Date: Mon, 24 Apr 2006 10:50:38 +0100 Subject: [PATCH] This patch adds a policy name to the policy definition. This policy name must be unique and must change if the content of the file changes. The policy name is used to ensure that the XM tools and the hypervisor work on the same policy, i.e., interpret the security information on domains consistently. This patch also simplifies the policy management by moving policy and labels into a single file. Signed-off by: Reiner Sailer --- Makefile | 3 +- .../chwall/chwall-security_label_template.xml | 76 -------- .../chwall/chwall-security_policy.xml | 36 ---- .../chwall_ste-security_label_template.xml | 167 ------------------ .../chwall_ste/chwall_ste-security_policy.xml | 49 ----- .../null/null-security_label_template.xml | 24 --- .../policies/null/null-security_policy.xml | 14 -- tools/security/policies/security_policy.xsd | 75 +++----- .../ste/ste-security_label_template.xml | 143 --------------- .../policies/ste/ste-security_policy.xml | 27 --- 10 files changed, 30 insertions(+), 584 deletions(-) delete mode 100644 tools/security/policies/chwall/chwall-security_label_template.xml delete mode 100644 tools/security/policies/chwall/chwall-security_policy.xml delete mode 100644 tools/security/policies/chwall_ste/chwall_ste-security_label_template.xml delete mode 100644 tools/security/policies/chwall_ste/chwall_ste-security_policy.xml delete mode 100644 tools/security/policies/null/null-security_label_template.xml delete mode 100644 tools/security/policies/null/null-security_policy.xml delete mode 100644 tools/security/policies/ste/ste-security_label_template.xml delete mode 100644 tools/security/policies/ste/ste-security_policy.xml diff --git a/Makefile b/Makefile index 625c81c666..5ecea537e1 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,8 @@ # Grand Unified Makefile for Xen. # -KERNELS ?= linux-2.6-xen +#KERNELS ?= linux-2.6-xen +KERNELS ?= linux-2.6-xen0 linux-2.6-xenU # You may use wildcards in the above e.g. KERNELS=*2.6* XKERNELS := $(foreach kernel, $(KERNELS), $(patsubst buildconfigs/mk.%,%,$(wildcard buildconfigs/mk.$(kernel))) ) diff --git a/tools/security/policies/chwall/chwall-security_label_template.xml b/tools/security/policies/chwall/chwall-security_label_template.xml deleted file mode 100644 index 3a286f7fc6..0000000000 --- a/tools/security/policies/chwall/chwall-security_label_template.xml +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - - chwall-security_label_template - 2005-08-10 - - chwall-security_policy.xml - abcdef123456abcdef - - - - - - - - - - - dom_HomeBanking - - cw_Sensitive - - - - - dom_Fun - - cw_Distrusted - - - - - - dom_BoincClient - - cw_Isolated - - - - - - - dom_SystemManagement - - cw_SystemManagement - - - - - - dom_StorageDomain - - cw_SystemManagement - - - - - - dom_NetworkDomain - - cw_SystemManagement - - - - - diff --git a/tools/security/policies/chwall/chwall-security_policy.xml b/tools/security/policies/chwall/chwall-security_policy.xml deleted file mode 100644 index fabe1ae161..0000000000 --- a/tools/security/policies/chwall/chwall-security_policy.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - chwall-security_policy - 2005-08-10 - - - - - - - - - - - cw_SystemManagement - cw_Sensitive - cw_Isolated - cw_Distrusted - - - - - cw_Sensitive - cw_Distrusted - - - - - diff --git a/tools/security/policies/chwall_ste/chwall_ste-security_label_template.xml b/tools/security/policies/chwall_ste/chwall_ste-security_label_template.xml deleted file mode 100644 index 1a311fbb4a..0000000000 --- a/tools/security/policies/chwall_ste/chwall_ste-security_label_template.xml +++ /dev/null @@ -1,167 +0,0 @@ - - - - - - - - - - - chwall_ste-security_label_template - 2005-08-10 - - chwall_ste-security_policy.xml - abcdef123456abcdef - - - - - - - - - - - dom_HomeBanking - - ste_PersonalFinances - - - - cw_Sensitive - - - - - dom_Fun - - ste_InternetInsecure - - - - cw_Distrusted - - - - - - dom_BoincClient - - ste_DonatedCycles - - - - cw_Isolated - - - - - - - dom_SystemManagement - - - - ste_SystemManagement - ste_PersonalFinances - ste_InternetInsecure - ste_DonatedCycles - ste_PersistentStorageA - ste_NetworkAdapter0 - - - - cw_SystemManagement - - - - - - dom_StorageDomain - - - ste_PersistentStorageA - - ste_PersonalFinances - ste_InternetInsecure - - - - cw_SystemManagement - - - - - - dom_NetworkDomain - - - ste_NetworkAdapter0 - - ste_PersonalFinances - ste_InternetInsecure - ste_DonatedCycles - - - - cw_SystemManagement - - - - - - - res_ManagementResource - - ste_SystemManagement - - - - - res_HardDrive (hda) - - ste_PersistentStorageA - - - - - res_LogicalDiskPartition1 (hda1) - - ste_PersonalFinances - - - - - res_LogicalDiskPartition2 (hda2) - - ste_InternetInsecure - - - - - res_EthernetCard - - ste_NetworkAdapter0 - - - - - res_SecurityToken - - ste_PersonalFinances - - - - - res_GraphicsAdapter - - ste_SystemManagement - - - - - diff --git a/tools/security/policies/chwall_ste/chwall_ste-security_policy.xml b/tools/security/policies/chwall_ste/chwall_ste-security_policy.xml deleted file mode 100644 index bbbad3b3f0..0000000000 --- a/tools/security/policies/chwall_ste/chwall_ste-security_policy.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - chwall_ste-security_policy - 2005-08-10 - - - - - - - ste_SystemManagement - ste_PersonalFinances - ste_InternetInsecure - ste_DonatedCycles - ste_PersistentStorageA - ste_NetworkAdapter0 - - - - - - - - - - - - cw_SystemManagement - cw_Sensitive - cw_Isolated - cw_Distrusted - - - - - cw_Sensitive - cw_Distrusted - - - - - diff --git a/tools/security/policies/null/null-security_label_template.xml b/tools/security/policies/null/null-security_label_template.xml deleted file mode 100644 index 858d919fe9..0000000000 --- a/tools/security/policies/null/null-security_label_template.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - null-security_label_template - - 2005-08-10 - - null-security_policy.xml - - abcdef123456abcdef - - - - diff --git a/tools/security/policies/null/null-security_policy.xml b/tools/security/policies/null/null-security_policy.xml deleted file mode 100644 index 4d68b20d4c..0000000000 --- a/tools/security/policies/null/null-security_policy.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - null-security_policy - 2005-08-10 - - - diff --git a/tools/security/policies/security_policy.xsd b/tools/security/policies/security_policy.xsd index ce512e9ce0..f2e9b67e97 100644 --- a/tools/security/policies/security_policy.xsd +++ b/tools/security/policies/security_policy.xsd @@ -1,55 +1,37 @@ - + - + - - - - - - - - - - - - - - - - - - - - - - + - - + + + + + - + - - - + + + @@ -60,13 +42,25 @@ - + - - + + + + + + + + + + + + + + + - @@ -115,24 +109,11 @@ - - - - - - - - - - - - - diff --git a/tools/security/policies/ste/ste-security_label_template.xml b/tools/security/policies/ste/ste-security_label_template.xml deleted file mode 100644 index 66af16229a..0000000000 --- a/tools/security/policies/ste/ste-security_label_template.xml +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - - - - ste-security_label_template - 2005-08-10 - - ste-security_policy.xml - abcdef123456abcdef - - - - - - - - - - - dom_HomeBanking - - ste_PersonalFinances - - - - - dom_Fun - - ste_InternetInsecure - - - - - - dom_BoincClient - - ste_DonatedCycles - - - - - - - dom_SystemManagement - - - - ste_SystemManagement - ste_PersonalFinances - ste_InternetInsecure - ste_DonatedCycles - ste_PersistentStorageA - ste_NetworkAdapter0 - - - - - - dom_StorageDomain - - - ste_PersistentStorageA - - ste_PersonalFinances - ste_InternetInsecure - - - - - - dom_NetworkDomain - - - ste_NetworkAdapter0 - - ste_PersonalFinances - ste_InternetInsecure - ste_DonatedCycles - - - - - - - res_ManagementResource - - ste_SystemManagement - - - - - res_HardDrive (hda) - - ste_PersistentStorageA - - - - - res_LogicalDiskPartition1 (hda1) - - ste_PersonalFinances - - - - - res_LogicalDiskPartition2 (hda2) - - ste_InternetInsecure - - - - - res_EthernetCard - - ste_NetworkAdapter0 - - - - - res_SecurityToken - - ste_PersonalFinances - - - - - res_GraphicsAdapter - - ste_SystemManagement - - - - - diff --git a/tools/security/policies/ste/ste-security_policy.xml b/tools/security/policies/ste/ste-security_policy.xml deleted file mode 100644 index 16b83223d5..0000000000 --- a/tools/security/policies/ste/ste-security_policy.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - ste-security_policy - 2005-08-10 - - - - - - - ste_SystemManagement - ste_PersonalFinances - ste_InternetInsecure - ste_DonatedCycles - ste_PersistentStorageA - ste_NetworkAdapter0 - - - - -- 2.30.2